package com.zr.controller.R;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    private Integer status;
    private Object data;
    private String msg;
    private Integer total;
//    身份认证
    private String token;

//    public Result() {
//    }

    public Result(Integer status,Object data) {
        this.status = status;
        this.data = data;
    }

    public Result(Integer status, Object data, String msg) {
        this.status = status;
        this.data = data;
        this.msg = msg;
    }


}
